package com.dries.portal.module.chat.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @Description: 消息状态
 * @Author ZSY
 * @createTime 2020/8/11 14:09
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum MsgSignFlag {

    UNSIGNED(0, "未签收"),
    SIGNED(1, "已签收");

    @EnumValue
    public Integer code;
    public String description;

    @JsonValue
    public String getDescription() {
        return description;
    }

}
